home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: MegaDisc / MegaDisc 08 (1988)(MegaDisc Digital Publishing)(AU)[WB].zip / MegaDisc 08 (1988)(MegaDisc Digital Publishing)(AU)[WB].adf / TUTORIALS / SC-II.Part1 < prev    next >
Text File  |  1988-05-28  |  13KB  |  283 lines

  1.  
  2.  
  3.  
  4.          ______  _______  _____    ______  ______   ________  ______
  5.         /\_____\/\______\/\____\  /\_____\/\_____\ /\_______\/\_____\
  6.        / /  ___/\/_   __/ / ___ \/ /  ___/ /  ___// /  __   / /  __  \
  7.       / /  /_\  / /  / / / // / / /  /_\/ /  /   / /  /_/  / /  /_/  /
  8.      _\/__   /_/ /  / / / // / / /  ___/ /  /_  / /  __   / /  _   _/
  9.     /\__\/  /\_\/  /\/ / /_\/ / /  /_\/ /  /__\/ /  / /  / /  / \  \
  10.     \/_____/\/______/\/______/\/_____/\/______/\/__/\/__/\/__/   \__\
  11.  
  12.  
  13.  
  14.  
  15.     A PRACTICAL GUIDE TO USING THE A1060 SIDECAR WITH THE A1000 AMIGA
  16.  
  17.              [ALSO RELEVANT TO A2000 USERS WITH A HARD DISK]
  18.  
  19.            PART 1                            BY SCOTT CASTLEDINE
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.      [Ed: This article is also useful for A2000 owners with a hard disk
  28.           and also incorporates a lot of general techniques about
  29.           startup-sequences that apply to everyone, including the thorny
  30.           problem of "assigning" programs to hard disks, and changing
  31.           icons to run properly when moved to different directories.]
  32.  
  33.      By now you should have read my last article about the Sidecar in
  34. Megadisc 7. If by some unimaginable twist of fate, you haven't, then get
  35. hold of a back issue and have a little read.
  36.      That article was not too technical and did not touch on the issues
  37. of using the Sidecar too deeply. This series of articles is going to go
  38. into some of the useful aspects of the A1060 machine.
  39.      Before I go on, I have to point out that there are a few people out
  40. there who have had problems with their machines for some reason or other.
  41. I have not yet had any problems with either my A1000 or the Sidecar. I
  42. have had the Amiga since November 1986 and the Sidecar for about 10
  43. months.
  44.      I would also like to point out - because of the similarities between
  45. the 2088 Bridgeboard and the 1060 Sidecar in the functions they perform
  46. for their respective machines, those people running the 2088 and A2000
  47. configuration can apply some of these techniques to their system. The two
  48. systems are almost identical. Briefly, the Bridgeboard has its own RAM
  49. and CPU as does the Sidecar. The access software is the same. The
  50. difference is, the Sidecar is put in it's own box and attached to the
  51. A1000 expansion bus, where the Bridgeboard is mounted in one of the slots
  52. inside the A2000 system box. They both come supplied with the same 5.25
  53. inch floppy drive. This compatability makes my audience somewhat larger
  54. than specificaly Sidecar users. Now, let's get right into it...
  55.  
  56. GETTING STARTED:
  57. ----------------
  58.  
  59.      The best place to start, is at the start (how profound!). And that,
  60. on the Amiga, is the "startup-sequence" file! I have edited my startup-
  61. sequence to one line:
  62.  
  63.      EXECUTE SS
  64.  
  65. That's all there is in that file. The reason being, I edit the startup-
  66. sequence often and found it too long-winded to type..
  67.  
  68.      ED S/STARTUP-SEQUENCE
  69.  
  70. every time I wanted to change an ASSIGNment or the like. So the actual
  71. file that does all the work is "SS" (obviously short for
  72. startup-sequence!). Now all I have to type to edit my boot operations is
  73.  
  74.      ED S/SS
  75.  
  76.      Now, what have I got in my "SS" file? Glad you asked! I don't run my
  77. Amiga without the Sidecar very often (except when loading a game from a
  78. bootable disk, but that's not what we're here to discuss), so I have a
  79. disk dedicated to booting the Sidecar and my JANUS controlled hard disk.
  80. My "SS" file contains:
  81.  
  82. BindDrivers
  83.    echo " "
  84.    echo "                  Initializing Janus      *N"
  85.    echo "                Please wait 25 seconds..  *N"
  86.    Wait 25
  87.    Echo "               Mounting Janus Hard Disk   *N"
  88.    DJMount
  89.    Echo "              Transfering control to JH0: *N"
  90.    Assign sys: jh0:
  91. AddBuffers jh0: 30
  92. CD :
  93.    Assign lc: jh0:c
  94.    Assign include: jh0:lc/include
  95.    Assign lib: jh0:lc/lib
  96.    Assign c: jh0:c
  97.    Assign s: jh0:s
  98.    Assign l: jh0:l
  99.    Assign libs: jh0:libs
  100.    Assign devs: jh0:devs
  101.    Assign fonts: jh0:fonts
  102.    Assign "Textcraft Plus:" jh0:WPs
  103.      .
  104.      .
  105. /* some more ASSIGNments in here */
  106.      .
  107.      .
  108. Path add jh0:PC
  109. copy ramicon1 to RAM:disk.info
  110. loadwb
  111. endcli > nil:
  112.  
  113. For a Sidecar system without a Hard disk you could shorten that SS file
  114. considerably to something along these lines..
  115.  
  116. BindDrivers
  117.    echo " "
  118.    echo "                  Initializing Janus                 *N"
  119.    echo "      Please place your MS-DOS boot disk in drive A: *N"
  120.    echo "                Please wait 25 seconds..             *N"
  121.    Wait 25
  122.    echo "             Your Sidecar is ready to run            *N"
  123. Path add Workbench1.2:PC
  124. copy ramicon1 to RAM:disk.info
  125. loadwb
  126. endcli > nil:
  127.  
  128.      Obviously, in this case, SS is not ASSIGNing all your control over to
  129. a nonexistant Hard disk if you don't have one, so basically all it has to
  130. do is await the boot operations of the Sidecar which means putting the
  131. MS-DOS disk in the 5.25" drive (or any other disk containing COMMAND.COM).
  132. Then, all it has to do is load the workbench.
  133.  
  134.      OK! What does all this mean? The system searches for the "startup-
  135. sequence" file in the "S" directory when you put a bootable disk into the
  136. internal drive of (any) Amiga. If the computer can't find a file with
  137. exactly that name, it won't perform any boot operations and load the
  138. workbench - it just breaks to the CLI. My startup-sequence calls and
  139. executes the SS file which then does the work of booting and ASSIGNing
  140. all the directories over to my Janus Hard disk. Basically my "SS" file
  141. boots the Sidecar OS before it does any Amiga tasks. It waits 25 seconds
  142. for all that to happen (the execution of the AUTOEXEC.BAT file which I
  143. will discuss later). Then it mounts (using DJmount) the hard disk for use
  144. by the Amiga. Because the hard disk (from now on we will call it "JH0:"
  145. for Janus Hard drive ZERO) is always attached to my system, it is ideal to
  146. place the control entirely in it's hands. That's where all the ASSIGN-
  147. ments come in. I have all the DOS commands and more (from the Public
  148. Domain or written myself), in a "C" directory on JH0: and ASSIGNed that as
  149. SYS: so every time I type a command in the CLI it looks in JH0:C. This
  150. gives me two floppy drives free at all times. My boot disk often just sits
  151. in the internal drive because most tasks are done on JH0: and I'm too lazy
  152. to eject it. Any other floppy required for a session is put in DF1:.
  153.     Not only is the "C" (for "Command") directory assigned to JH0: but all
  154. the other operating directories are also. The C programming language
  155. "include" and "lib" files have also had their paths defined for access
  156. when I am compiling a project. I also have a large cache of fonts in my
  157. fonts draw and regardless of which program I boot from floppy or hard, I
  158. have access to ALL my fonts (here again some from the PD and others I
  159. designed myself). The printer and clipboard devices etc. are also
  160. accessible if needed by any task. All this adds up to a system that is
  161. much more convenient and faster than floppies.
  162.      The line:
  163.  
  164.      Assign "Textcraft Plus:" jh0:WPs
  165.  
  166. is purely because Textcraft, when booted from hard disk, calls on its
  167. volume by name (to load your last preferences for document format). That
  168. line now redirects the program to look in the "WPs" drawer on JH0: for the
  169. file it needs. I have a few more of these assignments that I deleted from
  170. the sample "SS" file here, but all do a similar type of redirection. When
  171. running these programs from hard disk I no longer need to put the
  172. associated floppy in one of the drives.
  173.      You have probably noticed the line that puts my custom icon on the
  174. workbench screen for the RAM disk. If not, it is the line:
  175.  
  176.      copy ramicon1 to RAM:disk.info
  177.  
  178. This just reads the icon from the boot disk's root directory to RAM: and
  179. names it "disk.info" so it will show. Otherwise it is hidden away. Nothing
  180. to do with the Sidecar but a little tip you may find useful for that
  181. "really ace" icon you designed for RAM:
  182.  
  183. WORKBENCH LEVEL
  184. ---------------
  185.      Once you are in the workbench, there are a few convenient tasks you
  186. can perform that make accessing your Sidecar faster and easier.
  187.      If you open the root window on the "A1060 Workbench 1.2" disk, you
  188. will notice it looks identical to any other workbench disk, except it has
  189. an added drawer called "PC". This contains the software that emulates an
  190. IBM display. These programs call the IBM keymaps and pass control to the
  191. Sidecar.
  192.  
  193. You have:
  194.   PC Mono: For emulation of a monochrome IBM clone and would be used if
  195. for some reason you have software dedicated to monochrome displays. To
  196. boot from the CLI, type RUN "PC MONO"
  197.  
  198.   PC Color: Boots a color window which in my eyes is the ONLY screen
  199. emulator to use as it has a choice of 2 (mono), 4 (workbench), 8 or 16
  200. text colors. A maximum of 4 graphics colours can be displayed. Depending
  201. on the number of colours you ask the Amiga to display on behalf of the
  202. Sidecar, it is directly proportional to the speed at which text is
  203. displayed. Two and four colours is reasonably fast and does not tend to
  204. annoy when reading scrolling text. Eight and sixteen colours can cause the
  205. scrolling of text to become very jerky and hard to follow. My advice is to
  206. select colours according to the tasks you perform. To boot from the CLI,
  207. type RUN "PC COLOR"
  208.  
  209.   PCDisk: when booted will allow transfer of files from the Sidecar to the
  210. Amiga and vice versa. You can transfer either text or binary while running
  211. MS-DOS with a few easy commands. When it's icon is double clicked, you
  212. will have some disk activity but no other physical response is evident.
  213.  
  214.   LPT1S: This assigns the Amiga's parallel port to the Sidecar and allows
  215. the printer to be used by the Sidecar without having to unplug anything.
  216. It takes complete control, so either the Amiga has access OR the Sidecar,
  217. not both at the same time; if LPT1S is running the Amiga has NO access!
  218. Conversely, if the Amiga is using the parallel port, LPT1S cannot be
  219. booted. If it is booted you will see a title bar on the screen - that has
  220. a close gadget so you can turn it off and access the parallel port with
  221. the Amiga again.
  222.  
  223.      In the PC drawer is also a module called "PCwindow" that both the PC
  224. screen emulators call on. This does not have an icon so you won't see it
  225. unless you have a look using the CLI. I have moved the "PC color",
  226. "PCdisk", and "LPT1S" programs out of their drawer and into the root
  227. directory on JH0: and had to perform a default-tool path-change for "PC
  228. color". This is easy. Just select the icon and then under the "Workbench"
  229. menu, select "Info" this will pop a requester window up and in the
  230. "Default Tool" string gadget, type the path to "PCwindow". On mine that
  231. path looks like this:
  232.  
  233.      :PC/PCwindow
  234.  
  235. Simple! If you want to drag Mono out as well, you will have to do likewise
  236. with that.
  237.      While in the subject of default tools I shall explain a few things
  238. for those uninformed! When moving (project) icons about on a disk from
  239. drawer to drawer, a few of you have probably noticed that sometimes the
  240. project will not boot as it did be for. This is because some programs
  241. assign the default tool as per the master disk when shipped. Like BASIC
  242. assigns the default tool as
  243.  
  244.      EXTRAS:AMIGABASIC
  245.  
  246. so every time you double-click a project icon, it will ask for the EXTRAS
  247. disk to be placed into one of the drives. If you move the actual
  248. AmigaBASIC icon into another drawer or relabel the disk from EXTRAS to
  249. something like "MyBASICdisk", then none of the projects will be able to
  250. automatically find and boot AmigaBASIC to run. You can do the
  251. select-project - shift-double-click tool sequence, but that can be a
  252. problem if the project icons are in another drawer or the like. The
  253. easiest way around all this is to change the default tool using a similar
  254. method as above - Select "info" from the menu after selecting an icon,
  255. then just typing in the new path. It sometimes is easier to keep most of
  256. the default tools in the root directory (not in any drawer on a disk) of
  257. your work disk. In my case, I have it in a drawer on my hard disk but had
  258. to reassign all the default tool paths for every icon OR do an assignment
  259. in the SS file, where it would look like
  260.  
  261.      Assign EXTRAS: Jh0:BASIC
  262.  
  263. Now whenever I double click an icon that looks for AmigaBASIC on the
  264. EXTRAS disk it looks in the BASIC drawer on my hard disk. I can boot
  265. projects in any drawer or even off a floppy - they will always use the
  266. hard disk's version of AmigaBASIC. Unless, of course, the default tool has
  267. been changed on the project to something like :AmigaBASIC which would look
  268. in the root directory of SYS: (in my case - JH0:).
  269.  
  270.       Well, that's it for this issue. Next issue I will discuss the
  271. Sidecar environment, how to tailor the display to suit your needs, look at
  272. the AUTOEXEC.BAT file in the MS-DOS environment and setting up virtual
  273. drives using Amiga devices and/or RAM:. I think you now have enough to
  274. keep you occupied until next time. See how much you can speed up the
  275. startup-sequence boot time.
  276.  
  277. Contact me on (002) 29 4784 if you have any problems.
  278.  
  279.                                                      Scott Castledine
  280.  
  281. XXXXXXXXXXXXXXXXXXXXXXXXXX END OF SC-II.PART1 XXXXXXXXXXXXXXXXXXXXXXXXXXXX
  282.  
  283.